//package com.jarvan.utils;
//
//import io.jsonwebtoken.SignatureAlgorithm;
//import org.springframework.beans.factory.annotation.Value;
//import org.springframework.stereotype.Component;
//
//import java.util.Collection;
//import java.util.HashMap;
//import java.util.Map;
//import java.util.Set;
//import java.util.concurrent.ConcurrentMap;
//
//@Component
//public class JWTUtils {
//    public static final String ROLE_REFRESH_TOKEN = "ROLE_REFRESH_TOKEN";
//
//    private static final String CLAIM_KEY_USER_ID = "user_id";
//
//    private static final String CLAIM_KEY_AUTHRITIES = "scope";
//
//    private Map<String, String> tokenMap = new HashMap<>(32);
//
//    @Value("${jwt.secret}")
//    private String secret;
//
//    @Value("${jwt.expiration}")
//    private Long refresh_token_expiration;
//
//    private final SignatureAlgorithm SIGNATURE_ALGORITHM = SignatureAlgorithm.HS256;
//
//}
